package com.gmtx.syb.utils;

/**
 * Created by Administrator on 2016/11/9.
 */

public class DateUtil {



    public static long getHour(long second){
        return second / 3600;
    }

    public static long getMinute(long second){
        return (second - getHour(second) * 3600) / 60;
    }

    public static long getSecond(long second){
        return second % 60;
    }
}
